using System.Collections.Generic;
using DataModel;

namespace RitaReports.Travels
{
    public class TravelsDataSource : IReportDataSource
    {
        private readonly List<ReportHistoryDescr> history = new List<ReportHistoryDescr>();

        public List<ReportHistoryDescr> History
        {
            get { return history; }
        }

        public TravelsDataSource(IEnumerable<ReportHistoryDescr> list)
        {
            history.AddRange(list);
        }
    }
}
